Active control of collaborative devices

ABSTRACT

Control of collaborative devices, including providing at least two collaborative devices, wherein each collaborative device comprises a client device and an embedded Java server, providing a registry service to which the collaborative devices are coupled for data communications, and providing at least one registry table, wherein the registry table includes registry records, wherein the registry records include registry records representing capabilities of collaborative devices, wherein the registry records representing capabilities of collaborative devices include data elements describing, for each collaborative device, capabilities, tertiary relationships, and network connectivities. The method further includes providing a service bundle of OSGI-compliant Java servlets comprising at least one predetermined algorithm for controlling the collaborative devices, and controlling the collaborative devices in accordance with the predetermined algorithm.

RELATED APPLICATIONS

This application claims the priority benefit of U.S. application Ser. No. 12/139,197 filed Jun. 13, 2008, which is a continuation application and claims priority from U.S. patent application Ser. No. 10/047,020, filed on Jan. 15, 2002.

BACKGROUND

Embodiments of the inventive subject matter generally relate to the field of data processing, and, more particularly, to active control of collaborative devices

A service gateway is an OSGI-compliant host server, server software installed and running on server computer hardware. “OSGI” refers to the Open Services Gateway Initiative, a computing industry organization developing specifications for service gateways, including specifications for delivery of “service bundles.” OSGI service bundles are software middleware providing compliant data communications and services through service gateways. The Open Services Gateway specification is a java based application layer framework that gives service providers, network operator device makers, and appliance manufacturer's vendor neutral application and device layer APIs and functions. An “API” is an Application Program Interface, a set of routines, protocols, and tools for building software applications.

A service gateway usually is a home or business server, a separate computer coupled for data communications through a local area network or “LAN” to client devices. Client devices include any device capable of adaptation for data communications, including, for example, automobiles, vending machines, cash registers, gasoline pumps, RFID readers, clocks, window shade controllers, door locks, smoke detectors, proximity detectors, television sets, radios, electric light switches, thermostats, thermometers, air conditioners, heaters, medical monitoring equipment, refrigerators, cook tops on stoves, ovens, coffee makers, water heaters, and so on.

A service gateway usually is an embedded server inserted in a LAN not only for providing data communications among client devices, but also to connect a wide area network or “WAN,” such as an external internet or extranet, to internal client devices within a home, office, or business setting. A service gateway often is an embedded server installed and running in the same physical device or cabinet with a client device.

“Embedded server” means a Java embedded server, a small-footprint application server that can be embedded in any networked device, home gateway, or client device. Embedded servers typically are zero-administration devices intended, when implemented as service gateways, to divide a network architecture into an external WAN and an internal LAN. An embedded server manages services deployed from trusted external resources to internal client devices over a network, including for example, services implemented through OSGI-compliant service bundles. Embedded servers enable deployment and installation of services, such as OSGI-compliant service bundles, on a just-in-time basis, when the services are needed from time to time for use by client devices.

All of the architecture so described, the service gateways, the service bundles, the client devices coupled through a LAN, the service gateway downloading service bundles when needed to provide services through a client device, all of this, has the effect of controlling individual client devices, with no collaboration among the devices. In the architecture so described, a user can, for example, log in to a service gateway and reset the desired temperature on a thermostat. The thermostat would then turn on a heater if, for example, the actual temperature were lower than the desired temperature. Raising a window shade on a warm, bright day, however, can also increase temperature in a room, and sunlight generally is both less expensive to operate than a heater and less environmentally demanding, although the benefits of reduced cost and reduced environmental impact are not available without collaboration among individual devices. If a first raised window shade were insufficient, then a second could be raised. If window shade raising without the use of a heater were insufficient, then the heater could be turned on, perhaps requiring less fuel consumption now that the raised window shades have contributed to the heating of the room. This simple example illustrates that it would be advantageous to have ways of controlling client devices so that they collaborate, bringing multiple resources to bear upon subjects of control.

SUMMARY

Exemplary embodiments of the invention include methods of control of collaborative devices. Exemplary embodiments typically include providing at least two collaborative devices, wherein each collaborative device includes a client device and an embedded Java server, and providing a registry service to which the collaborative devices are coupled for data communications. Exemplary embodiments typically include providing at least one registry table, wherein the registry table typically includes registry records, wherein the registry records include registry records representing capabilities of collaborative devices, wherein the registry records representing capabilities of collaborative devices typically include data elements describing, for each collaborative device, capabilities, tertiary relationships, and network connectivities. Other exemplary embodiments typically include providing a service bundle of OSGI-compliant Java servlets including at least one predetermined algorithm for controlling the collaborative devices, and controlling the collaborative devices in accordance with the predetermined algorithm.

In typical embodiments of the invention the predetermined algorithm is dedicated to a particular tertiary relationship. Exemplary embodiments of the predetermined algorithm typically include finding a registry record bearing a set point for the particular tertiary relationship, reading a sensor value of the particular tertiary relationship, and comparing the set point and the sensor value, wherein the comparing produces a comparison result. Other exemplary embodiments of the predetermined algorithm typically include finding, in dependence upon the comparison result, a registry record having an identified capability appropriate to the comparison result for the particular tertiary relationship, and effecting the capability identified in the found registry record.

In exemplary embodiments of the invention effecting the capability identified in the found registry record typically includes requesting, by use of an HTTP request, a URL identified in the found registry record as a network connectivity. In some exemplary embodiments, reading a sensor value typically includes finding a registry record for a sensor for the particular tertiary relationship, and effecting the capability identified in the found registry record for the sensor. In other exemplary embodiments, effecting the capability identified in the found registry record for the sensor typically includes requesting, by use of an HTTP request, a URL identified in the found registry record for the sensor.

The foregoing and other objects, features and advantages of the invention will be apparent from the following more particular descriptions of exemplary embodiments of the invention as illustrated in the accompanying drawings wherein like reference numbers generally represent like parts of exemplary embodiments of the invention.

BRIEF DESCRIPTION OF THE DRAWINGS

The present embodiments may be better understood, and numerous objects, features, and advantages made apparent to those skilled in the art by referencing the accompanying drawings.

FIG. 1 is a high level block diagram of the principal components of an example embodiment.

FIG. 2 is a control flow diagram of an example embodiment of an algorithm for control of collaborative devices.

FIG. 3 is an illustration of example embodiments of registry records.

FIG. 4 is a further illustration of example embodiments of registry records.

FIG. 5 is a still further illustration of exemplary embodiments of registry records.

DESCRIPTION OF EMBODIMENT(S) Introduction

The present invention is described to a large extent in this specification in terms of methods for active control of collaborative devices. Persons skilled in the art, however, will recognize that any computer system that includes suitable programming means for operating in accordance with the disclosed methods also falls well within the scope of the present invention.

Suitable programming means include any means for directing a computer system to execute the steps of the method of the invention, including for example, systems comprised of processing units and arithmetic-logic circuits coupled to computer memory, which systems have the capability of storing in computer memory, which computer memory includes electronic circuits configured to store data and program instructions, programmed steps of the method of the invention for execution by a processing unit. The invention also may be embodied in a computer program product, such as a diskette or other recording medium, for use with any suitable data processing system.

Embodiments of a computer program product may be implemented by use of any recording medium for machine-readable information, including magnetic media, optical media, or other suitable media. Persons skilled in the art will immediately recognize that any computer system having suitable programming means will be capable of executing the steps of the method of the invention as embodied in a program product. Persons skilled in the art will recognize immediately that, although most of the exemplary embodiments described in this specification are oriented to software installed and executing on computer hardware, nevertheless, alternative embodiments implemented as firmware or as hardware are well within the scope of the present invention.

DEFINITIONS

In this specification, the following terms are used as defined here. Other terms are defined elsewhere in the specification and used as defined.

In this specification, the terms “field,” “data element,” “attribute,” and “code” are used as synonyms, referring to individual elements of digital data. Aggregates of data elements are referred to as “records” or “data structures.” Definitions of complex data structures that include member methods, functions, or software routines in addition to data elements are referred to as “classes.” Instances of complex data structures are referred to as “objects” or “class objects.”

“Coupled for data communications” means any form of data communications, wireless, 802.11b, Bluetooth, infrared, radio, internet protocols, HTTP protocols, email protocols, networked, direct connections, dedicated phone lines, dial-ups, serial connections with RS-232 (EIA232) or Universal Serial Buses, hard-wired parallel port connections, and other forms of data communications as will occur to those of skill in the art. Couplings for data communications include network connections implemented by use of power line protocols such as, for example, “HomePlug,” “X-10,” “CEBus,” and “Lonworks.”

The term “network” is used in this specification to mean any networked coupling for data communications. Examples of networks useful with the invention include intranets, extranets, internets, local area networks, wide area networks, and other network arrangements as will occur to those of skill in the art. The use of any networked coupling among service gateways, client devices, registries, or repositories of registry records, such as, for example, database management systems comprising registry records, is well within the scope of the present invention.

“Network address” means any network address useful to locate on any network a registry service, registry records, client devices, or capabilities whose locations are identified by connectivities or URLs. Network addresses include any internet protocol address useful to locate a registry service, registry records, client devices, or capabilities whose locations are identified by connectivities or URLs on an internet. Network addresses useful with various embodiments of the invention include local internet protocol addresses, private internet protocol addresses, temporary Internet addresses assigned to a Web client by a DHCP server, and permanent, official registered Internet addresses associated with domain names. “DHCP” is the Dynamic Host Configuration Protocol.

“URL” means Uniform Resource Locator, a standard method of associating network resource locations with network addresses for data communications, and, in the case of servlets, for invoking functions or operations of the resources.

“World Wide Web,” or more simply “the Web,” refers to the well-known system of internet protocol (“IP”) servers that support specially formatted documents, documents formatted in a language called “HTML” for HyperText Markup Language. The term “Web” is used in this specification also to refer to any server or connected group or interconnected groups of servers that implement the HyperText Transport Protocol, “HTTP,” in support of URLs and HTML documents, regardless whether such servers or groups of servers are coupled to the World Wide Web as such.

“Browser” means a Web browser, a software application for locating and displaying Web pages. Typical browsers today can display text, graphics, audio and video.

A “Web site” is a location on the World Wide Web. Web sites are identified by domain names that resolve to Internet addresses. Web sites include storage locations identifiable by URLs. Web sites are implemented in, on, and as part of Web servers, that is, HTTP servers. Web sites are aggregations of computer software installed and operating on computer hardware.

DETAILED DESCRIPTION

FIG. 1 is used to illustrate a method of control of collaborative devices in which the method includes providing at least two collaborative devices (120). In the illustrated example embodiment, each collaborative device includes a client device (124) and an embedded Java server (122). The example embodiment illustrated through FIG. 1 includes providing a registry service (114) to which the collaborative devices (120) are coupled for data communications. In the illustrated example embodiment, the couplings for data communications between the registry service and the collaborative devices are effected through a LAN (118).

The illustrated embodiment includes providing at least one registry table (116), wherein the registry table further comprises registry records having the structure illustrated for example, at references (302-316) on FIG. 3. Registry records have alternative structures across embodiments. In the structures illustrated in FIG. 3, however, the registry records include registry records representing capabilities of collaborative devices, and the registry records representing capabilities of collaborative devices further include data elements describing for each collaborative device, capabilities (318), tertiary relationships (320), and network connectivities (322).

The registry records are established initially, for example, by user data entry through a data entry screen and a keyboard on a computer terminal logged on to a service gateway and a registry service, or by a registry service reading at startup registry records from non-volatile computer memory, or by a registry service downloading across a WAN registry records at startup from remote databases, or by a registry service uploading registry records from collaborative devices when collaborative devices are powered up. These are several example of embodiments for establishing registry records. Person of skill in the art will think of other ways of establishing registry records, all such ways being well within the scope of the present invention.

The illustrated embodiment of FIG. 1 includes providing a service bundle (108) of OSGI-compliant Java servlets comprising at least one predetermined algorithm (110) for controlling the collaborative devices. The service bundle (108) is shown on FIG. 1 as a download across a WAN (104) from a remote storage location, the remote services database (102). Alternatively, in other embodiments, the service bundle is loaded from a recording medium such as a compact disk or diskette, for storage in computer memory on the service gateway itself. Or the service bundle in other embodiments is uploaded from a client device. Persons skilled in the art will think of other ways of acquiring service bundles, all such ways being well within the scope of the present invention.

The example of FIG. 1 includes controlling (112) the collaborative devices in accordance with the predetermined algorithm. In most embodiments, the means for control is a computer processor coupled to computer memory in which is stored the predetermined algorithm as part of a service bundle, a computer program stored in computer memory and operated to control the computer processor.

In the further example illustrated in FIG. 2, a predetermined algorithm (110) is dedicated to a particular tertiary relationship (320). That is, the predetermined algorithm is dedicated, for example, to “Temperature Control,” the exemplary tertiary relationship (320) of FIG. 3. In the example of FIG. 2, the predetermined algorithm includes finding (202) a registry record (204) bearing a set point for a particular tertiary relationship, which is taken for purposes of this example as “Temperature Control.”

The example predetermined algorithm includes reading (206) a sensor value (208) of the particular tertiary relationship, comparing (210) the set point and the sensor value, wherein the comparing produces a comparison result (212), and finding (214), in dependence upon the comparison result, a registry record (216) having an identified capability (218) appropriate to the comparison result for the particular tertiary relationship. Reading (206) a sensor value, in typical embodiments, includes finding a registry record for a sensor for the particular tertiary relationship and effecting (222) the capability identified in the found registry record for the sensor. More specifically, in the illustrated example, reading a sensor value includes finding a registry record (314) for the particular tertiary relationship (“Temperature Control”) having a capability of “sensor.” Reading a sensor value then includes transmitting an HTTP request for the URL identified in that found registry record as a network connectivity of the capability in the record. The found registry record (314) in this example in effect means to the algorithm, “Obtain the current sensor value from this URL.”

The transmitted HTTP request message in the present example include the following URL from registry record (314):

\\92.168.0.3\servlet?function=“temp”

This exemplary URL, in the present example embodiment, is delivered to the embedded Java server embedded in the collaborative device located on the LAN at the network address \\192.168.0.3. The URL invokes a servlet that accepts a parameter named “function,” which in this invocation is assigned the value “temp,” requesting the current temperature. The call to the servlet returns the temperature to the embedded Java server. The embedded Java server configures and returns an HTTP response message including the current temperature.

Comparing the set point, in the example embodiment, includes finding a set point record. More specifically, in the present example embodiment, comparing the set point includes discovering what the set point is. In the present example, the set point is found in the connectivity field (322) of a registry record (316) identified by the tertiary relationship and the capability “set point.” In this specific example of a set point, the connectivity field is used to identify a literal value rather than to identify a remote connection to a source of a value. Other embodiments, rather than a literal value in the connectivity field, include in the connectivity field for a set point a URL identifying a remote location of a source of a set point value. In this particular example embodiment, the set point is a range, “73 to 77 degrees Fahrenheit.”

Comparing (210) the set point and the sensor value produces a comparison result (212). For purposes of this example, it is assumed that the comparison result is that the sensor value indicates a current temperature below the set point range and therefore a raise in temperature is needed. Finding (214), in dependence upon the comparison result, a registry record (216) having an identified capability (218) appropriate to the comparison result for the particular tertiary relationship includes in the present example, finding a registry record for the tertiary relationship, in this case “Temperature Control,” having the capability “Raise Temp.” The first such registry record in the example registry records of FIG. 3 is the record having reference number (302). Two other records in FIG. 3 meet these criteria also, record (306) in which is identified the capability of turning on a heater and record (312) in which is identified the capability of turning off an air conditioner.

The example algorithm of FIG. 2 includes effecting (222) the capability identified in the found registry record, which in the case of the present example embodiment as illustrated also in FIG. 3, includes requesting (224), by use of an HTTP request, a URL (220) identified in the found registry record as a network connectivity. More specifically, in our specific example of raising temperature by raising a window shade, the capability identified in example registry record number (302), the HTTP request message includes the URL from the connectivity field (322) of record number (302), that is:

\\192.168.0.2\servlet?function=“up”

This example form of URL includes the network address, “\\192.168.0.2,” of the client device upon which is located a Java servlet accepting as a parameter a variable called “function.” In this example, the value passed as the value of the parameter variable is “up.” To lower the window shade, as illustrated at registry record number (304) on FIG. 3, the valued of the parameter “function” is set to “down.”

In this example embodiment, the servlet identified in the connectivity field of the registry record is a Java servlet operating an automated electromechanical interface to a motor that raises and lowers a window shade. The Java servlet so identified is a servlet operating in conjunction with an embedded Java server that is physically and electronically embedded upon the motor controlling the window shade. The embedded Java server is coupled for data communication through a LAN to the service gateway and the registry service. The coupling for data communications is implemented in some embodiments through a metal data wire, in other embodiments through a wireless connection such as an 802.11(b) connection or a Bluetooth connection, and in other embodiments through a power line protocol such as HomePlug, X-10, CEBus, or Lonworks.

Note that the URLs the heater, air conditioner, and thermometer identified in registry records 306, 308, 310, 312, and 314, in FIG. 3, all have the same network address, “192.168.0.3.” In this particular example, all these URLs have the same network address because they all call servlets in the same embedded Java server embedded on the same thermostat. In other embodiments, the heater controls, air conditioner controls, and thermometer as a sensor are all separate client devices having separate embedded servers forming separate collaborative devices located at separate network addresses.

A further example embodiment of a predetermined algorithm includes the method steps illustrated in the following pseudocode:

Control_Algorithm(  Tertiary_Relat=“Temperature Control”,          Wait_Time=60 seconds) {    //find sensor record for the tertiary relationship    Sensor_record=find_sensor_record(Tertiary_Relat);    //loop while sensor value is outside set point range    while(       (Sensor_value=read_value(Sensor_record.Connectivity)       <(Setpoint=find_set_point(Tertiary_Relat))       or (Sensor_value>Set_point))    {       Capability_needed=compare(Sensor_value, Set_point);       Action_record=          find_next_registry_record(RegistryRecord.-          Capability=Capability_needed);       Effect(Action_record.Connectivity);       Wait(Wait_Time);    } }

The Control_Algorithm( ) function itself, in typical example embodiments, is set to run in a continuous loop, so that its operation includes continuously comparing a set point to a sensor value and taking action in dependence upon the results of the comparison. The set point is checked on each recursion of the control loop because a user can reset a set point or a set point range at any time. Users can reset set point, for example, by use of data entry screens and keyboards on computer terminals logged on to the service gateway and the registry service. Alternatively, users can change set points by use of client devices themselves, such as thermostats with embedded Java servers whose functions include reporting to a registry service changes in set points detected on a thermostat switch. Many ways of setting set points and set point ranges will occur to those of skill in the art, all such ways being well within the scope of the present invention.

The compare( ) function, in examples of this kind, returns, for example, the Capability_needed of “Raise Temp” when the sensor value is less than the set point and the Capability_needed of “Lower Temp” when the sensor value is greater than the set point. The Wait( ) function pauses operation for long enough to give effect to the mechanical and thermal changes effected before again checking set point and sensor value.

The Wait_Time, like the tertiary relationship for the algorithm, is set by parameter when the Control_Algorithm( ) function is called. In this particular example, the use of passed parameters at run time means that this particular form of algorithm, the function Control_Algorithm( ), is useful for a wide variety of embodiments using set points. Of course there is no general requirement for set points in the present invention, and many embodiments do not use set points. This kind of algorithm, however, is useful for many that do.

The registry records in FIG. 3 illustrate also an implementation of a control policy preferring non-fossil fuel capabilities for heating to those requiring fossil fuels. The policy is implemented in the records of FIG. 3 by virtue of the ordering of the records. That is, an algorithm of the “find_next” kind when seeking “Raise Temp” as a capability will find record (302) before record (306), assuming the records are sorted or indexed in the order shown in FIG. 3. If records favoring non-fossil-fuel heating appear in the sort order or index order before records enabling fossil fuel usage for heating, the policy is effected. But there are other ways of effecting control policies.

Illustrated by use of FIG. 4 is a further embodiment addressed to the tertiary relationship of “Temperature Control.” More specifically, the registry records (402, 404, 406) shown in FIG. 4 add to the registry records for “Temperature Control” a sensor capability for outdoor light levels and capabilities of raising and lowering temperatures without the use of fossil fuel. In this example, data identifying fossil fuel effects are expressly included in the registry record data, thus supporting predetermined algorithms of the kind illustrated by the following pseudocode:

Control Algorithm(  Tertiary_Relat=“Temperature Control”,          Wait_Time=60 seconds) {    //find sensor record for the tertiary relationship    Sensor_record=find_sensor_record(Tertiary_Relat);    //loop while sensor value is outside set point range    while(       (Sensor_value=read_value(Sensor_record.Connectivity)       <(Set_point = find_set_point(Tertiary_Relat))       or       (Sensor_value>Set_point))    {       Capability_needed=compare(Sensor_value, Set_point);       if(((Action_record=          find_next_NON-FOSSIL_record(          RegistryRecord.Capability =          Capability_needed))==NULL)          find_next_FOSSIL_record(RegistryRecord.-             Capability=Capability_needed);       Effect(Action_record.Connectivity);       Wait(Wait_Time);    } }

In order for the find_next_NON-FOSSIL_record( ) function to be able to return a NULL when no further non-fossil-fuel capabilities remain available, the registry record structure in such embodiments typically is extended to include a status field for each registry record (not shown). In this kind of embodiment, the Effect( ) function or the find_next_NON-FOSSIL_record( ) function in such embodiments marks each registry record status as “on” or “in use” when the record is found or when the capability represented by each record is effected, so that the find_next_NON-FOSSIL_record( ) knows upon the next iteration through the loop whether it can find a non-fossil capability still available for use.

Also illustrated by use of FIG. 4 is a still further embodiment addressed to the tertiary relationship of “Temperature Control.” More specifically, the registry records (402, 404, 406) shown in FIG. 4 add to the registry records for “Temperature Control” a sensor capability for outdoor light levels and capabilities of raising and lowering temperatures without the use of fossil fuel. By use of these kinds of registry records, it is possible to implements more sophisticated embodiments, embodiments that operate, for example, in dependence upon outdoor illumination levels sensed, not through outdoor photocells, but from weather services provided over the Internet. In this example, data identifying fossil fuel effects are expressly included in the registry record data, thus supporting predetermined algorithms of the kind illustrated by the following pseudocode:

Control_Algorithm( Tertiary_Relat=“Temperature Control”, Wait_Time=60 seconds, MyLat=“384012”, MyLong=“452032”, Target_Index=8) { //find sensor record for the tertiary relationship Sensor_record=find_sensor_record(Tertiary_Relat); //loop while sensor value is outside set point range while( (Sensor_value=read_value(Sensor_record.Connectivity) <(Set_point=- find_set_point(Tertiary_Relat)) or (Sensor_value>Set_point)) { Capability_needed=compare(Sensor_value, Set_point); AddlSnsrRcd=find_record(Tertiary_Relat, Capability= “Sensor - Outdoor Light Level”); if((Solar_Index=AddlSnsrRcd.Connectivity(MyLat, MyLong))>Target_Index and Capability_needed includes “Raise Temp”) { if(((Action_record= find_next_NON-FOSSIL_record( RegistryRecord.Capability = Capability needed))==NULL) find_next_FOSSIL_record( RegistryRecord.Capability= Capability needed); } else find_next_FOSSIL_record(RegistryRecord.Capability= Capability_needed) ; Effect(Action_record.Connectivity); Wait(Wait_Time); } }

The embodiment illustrated by this pseudocode includes an additional step of checking outdoor light level by finding an additional sensor record (402), a record identifying a capability of sensing outdoor light levels. The capability identified by this sensor record, a registry record identifying a capability of returning a value rather than taking action, is not reading a photocell, however. Instead, the capability identified by this record is a call to an Internet-based weather service, a remote Internet location or web site providing generally the service of reporting upon request, an HTTP request, that is, the solar index at a latitude and longitude included as parameters in the request. Thus the logic of the algorithm becomes, for embodiments of this kind. If heat is needed and there is enough sunshine outside to make it worthwhile, look for a non-fossil fuel capability, otherwise go ahead and turn on the heater.

We conclude with an additional example embodiments, illustrated by use of FIG. 5. FIG. 5 illustrates an embodiment for the tertiary relationship “Living Room Illumination Control.” The example embodiment of FIG. 5 is included to show that, despite the fact that the example embodiments of FIGS. 3 and 4 are directed to “Temperature Control,” in fact, embodiments of the invention address many more tertiary relationships than just “Temperature Control.” The embodiment of FIG. 5, for example, includes capabilities among collaborative devices for sensing levels of illumination, raising and lowering window shades, and for turning on and off electric lights. We have shown a variety of example embodiments of tertiary relationships, including examples for temperature control and illumination control. Many alternative tertiary relationships will occur to those of skill in the art, and all such tertiary relationships are well within the scope of the present invention.

It will be understood from the foregoing description that various modifications and changes may be made in the exemplary embodiments of the present invention without departing from its true spirit. The descriptions in this specification are for purposes of illustration only and are not to be construed in a limiting sense. The scope of the present invention is limited only by the language of the following claims. 

1. A method of control of collaborative devices, the method comprising: providing a plurality of collaborative devices, wherein each collaborative device comprises a client device and an embedded server; providing a registry service to which the collaborative devices are coupled for data communications; providing at least one registry table, wherein the registry table further comprises registry records, wherein the registry records comprise registry records representing capabilities of collaborative devices, wherein the registry records representing capabilities of collaborative devices further comprise data elements describing, for each collaborative device, capabilities, tertiary relationships, and network connectivities; providing a service bundle of servlets comprising at least one predetermined algorithm for controlling the collaborative devices; selecting from the registry table a subset of at least two collaborative devices of the plurality of collaborative devices according to a particular tertiary relationship; and controlling the subset of at least two of the collaborative devices in accordance with the predetermined algorithm.
 2. The method of claim 1, wherein selecting the subset of at least two of the collaborative devices includes selecting a collaborative device according to an order in the registry table of collaborative devices having the particular tertiary relationship.
 3. The method of claim 1, wherein selecting the subset of at least two of the collaborative devices includes selecting a collaborative device according to a characteristic in the registry table of collaborative devices having the particular tertiary relationship.
 4. The method of claim 1 wherein controlling the subset of the at least two collaborative devices in accordance with the predetermined algorithm further comprises: finding a registry record bearing a set point for the particular tertiary relationship; reading from a client device a sensor value of the particular tertiary relationship; comparing the set point and the sensor value to produce a comparison result; finding, based at least partially on the comparison result, a registry record having an identified capability appropriate to the comparison result for the particular tertiary relationship; issuing a request to a client device to effect the capability identified in the found registry record.
 5. The method of claim 4 wherein reading a sensor value further comprises: finding a registry record for a sensor for the particular tertiary relationship; effecting the capability identified in the found registry record for the sensor.
 6. The method of claim 5 wherein effecting the capability identified in the found registry record for the sensor includes issuing a request to a URL (Uniform Resource Locator) identified in the found registry record for the sensor.
 7. Apparatus for control of collaborative devices, the apparatus comprising: a plurality of collaborative devices, each collaborative device comprising a client device and an embedded server; a registry service communicably coupled to the plurality of collaborative devices; a registry table, the registry table comprising registry records, each registry record representing a capability of a collaborative device, the registry records comprising data elements describing, for each collaborative device, capabilities, tertiary relationships, and resource locations; a service bundle of servlets, the service bundle comprising at least one predetermined algorithm for controlling the collaborative devices, each predetermined algorithm associated with a particular tertiary relationship; and a control module configured to: select from the registry table a subset of at least two collaborative devices of the plurality of collaborative devices according to the particular tertiary relationship, and control the collaborative devices in accordance with the predetermined algorithm.
 8. The apparatus of claim 7, wherein the control module selects a collaborative device according to an order in the registry table of collaborative devices having the particular tertiary relationship.
 9. The apparatus of claim 7, wherein the control module selects a collaborative device according to a characteristic in the registry table of collaborative devices having the particular tertiary relationship.
 10. The apparatus of claim 7 wherein the control module is further configured to: read from a client device a sensor value of the particular tertiary relationship; compare a set point and the sensor value, wherein the comparing produces a comparison result; find, in dependence upon the comparison result, a registry record having an identified capability appropriate to the comparison result for the particular tertiary relationship; effect through a client device the capability identified in the found registry record.
 11. The apparatus of claim 10 wherein the control module is further configured to issue an HTTP (HyperText Transfer Protocol) request to a URL identified as a resource location in the found registry record.
 12. The apparatus of claim 10 wherein the control module is further configured to: find a registry record for a sensor for the particular tertiary relationship; issue a request to the found sensor to effect the capability identified in the found registry record for the sensor.
 13. The apparatus of claim 12 the control module is further configured to issue a request, by use of an HTTP request, to a a URL identified as a resource location in the found registry record for the sensor.
 14. A computer program product for control of collaborative devices, the computer program product comprising computer program instructions disposed upon a non-transitory recording medium for machine-readable information, the computer program instructions capable, when executed, of performing operations comprising: providing a registry service to which the collaborative devices are coupled for data communications; providing at least one registry data structure, the registry data structure comprising registry records, each registry record representing a capability of a collaborative device, the registry records comprising data elements describing, for each collaborative device, capabilities, tertiary relationships, and resource locations; providing a service bundle of servlets comprising at least one predetermined algorithm for controlling the collaborative devices; selecting from the registry data structure, records representing a subset of at least two of the plurality of collaborative devices from the plurality of collaborative devices according to a particular tertiary relationship; and controlling the subset of at least two of the plurality of collaborative devices in accordance with the predetermined algorithm associated with the particular tertiary relationship.
 15. The computer program product of claim 14, wherein selecting the subset of at least two of the collaborative devices includes selecting a collaborative device according to an order in the registry table of collaborative devices having the particular tertiary relationship.
 16. The computer program product of claim 14, wherein selecting the subset of at least two of the collaborative devices includes selecting a collaborative device according to a characteristic in the registry table of collaborative devices having the particular tertiary relationship.
 17. The computer program product of claim 14, wherein the computer program instructions are further capable of performing operations comprising: reading from a client device a sensor value associated with the particular tertiary relationship; comparing a set point and the sensor value, wherein the comparing produces a comparison result; finding, in dependence upon the comparison result, a registry record having an identified capability appropriate to the comparison result for the particular tertiary relationship; and issuing a request to a client device to effect the capability identified in the found registry record.
 18. The computer program product of claim 17 wherein issuing the request to the client device includes requesting a resource, by use of an HTTP request, at a URL identified as a resource location in the found registry record.
 19. The computer program product of claim 17 wherein reading a sensor value further comprises: finding a registry record for a sensor for the particular tertiary relationship; issuing a request to the sensor to effect the capability identified in the found registry record for the sensor.
 20. The computer program product of claim 29 wherein issuing the request to the sensor includes requesting, by use of an HTTP request, at a URL identified as a resource location in the found registry record. 